| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Drake Draconis
Shadow Cadre Shadow Confederation
1
|
Posted - 2011.09.14 04:55:00 -
[1] - Quote
HOLY #### this is awesome.
I'm gonna have to make a new set of boards to test this out!
Some questions:
1: Is this FRIENDLY when it comes to PHPBB Official Update packages... as in it won't go ape-**** crazy if it patches as they regularly do release updates. (Last API Mod caused me to scrap Databases on a regular basis... utter pain-in-the-ass)
2: Is there a way to shutoff the Teamspeak 3 portion as we do not use TS3 (Shadow Confederation)
3: Is it possible to configure the API checker to multi-corps/multi-alliances?
4: I don't understand the bit about a separate registration page... can you clarify? Will it require modifications to make it work? This also include the ACP As well?
5: Can it be installed on an already active DB/Forums?
6: Last but not least...willing to give me some minor coaching's on some specific customizations such as getting cron to email me? Linux docs can be confusing at times.
Thanks so much for your time and patience. |

Drake Draconis
Shadow Cadre Shadow Confederation
1
|
Posted - 2011.09.14 14:29:00 -
[2] - Quote
So to understand a few things based on the replies....
They have to register an account first....then register a second time with API information? How does this not cause "multiple acounts syndrome"
The API system is independent of the forums but runs its own check against the forums with the API keys.
TS3 portions can be ignored or commented out without causing harm to the system...
right?
Naturally when I have the time I'll setup a package myself and see how it works this weekend...but I'm just doing my homework in advance. 
Don't suppose you have a test board running somewhere where I could look. :)
PS: No need to offer hosting services... I have a very large web hosting package of my own. |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.14 22:10:00 -
[3] - Quote
I like what your saying...I'll feel better when i get it up and running on my system.
As for the TS3.... if its "ignored" will it cause harm?
Sounds like there's no way to quickly/cleanly remove it/disable it.
PS: Your description as to how it works is quite telling of your knowledge of PHPBB/SQL... I LIKE IT!!!! This is gonna be awesome for my alliance!  |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.14 23:54:00 -
[4] - Quote
MisterMagotchi wrote:Gary:
If you want to make a test board, do whatever you want, but I don't believe a test board will do this justice without a test TS server as well. I also think it's unnecessary, but again, it's your prerogative.
Drake:
The more I think about it, the more I'm softening on the idea of making Teamspeak registration optional via the config. I'll see what I can do on it tonight.
No harm will be caused if TS3 is disabled in the right way, so that's another reason I'm thinking about making it easier for everybody.
Yeah. It's not all that easy unless you're already a PHP coder.
Thanks for the great compliment. I've been a PHP/MySQL developer full-time for five years, and I've been tinkering with phpBB and other PHP apps. for many years before that in a hobby capacity.
Ive seen alot of people throw around jargon....admitedly I know enough to be dangerous....understand various concepts.... but I'm nowhere taletned enough to tangle with the likes of a rock solid PHPBB platform.
I even threatened to make an EVE Online theme and found out it would take me more time that I can afford to create.
I find its truely genius how your approaching this.
By isolating your code and just interfacing with the DBTables for referenceing and not direct modification... any chance of an update/patch rolling over on your code is slim to none.
Its a bit awkward in some aspect.... perhaps theres a way you could coordinate with the PHPBB devs for some sort of structure template that would at least let you integrate your registration tool with the registration page itself.
But this is better than nuking my DB/Forums over a patch...and well worth the added work as opposed to an entire staff dedicating to auditing membership (as I was planning to do).
I defiinately look forward to using your package...and perhaps...useful constructive critqueing. 
However I will say this much.... make the TS3 package optional and your gaurenteed to get a ton of use out of this...not everyone uses TS3... ours is Ventrillo..some still use EVE Voice...others Mumble.
I'll try to get a head start on your stuff tonight if I'm still conscience.... still at work.   |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.15 01:42:00 -
[5] - Quote
dont modifications of the PHBB Webpages cause issues with modification checks during updates?
Course thats a MINOR issue in comparison from my previous issues.
At that rate I'll just slap a "forum board link" in the middle of the main section and use that instead.... if its a problem.
Won't know till I try it. :)
Thanks so much for the explinations... I can see it would be difficult for registration to be integrated.
But as I said...small price to pay...for added security/convience of API. |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.15 04:42:00 -
[6] - Quote
MisterMagotchi wrote:Balani: I guess I should put in the requirements that it requires PHP 5.3.0 or greater. The ( EOL ) sections aren't the problem. It's the ( 'EOL' ) (with a single quote on each side of EOL) that only work in PHP 5.3.0 or greater. You can either upgrade your PHP, or you might be able to just find and replace every occurrence of the second thing with the first thing, and it should work fine, but you might have to put a backslash ( "\" ) before the dollar signs in the javascript section in index.php (located in lines 136 -161). This syntax it's currently using is called Nowdoc in case you're wondering.
Guess what.... got dinged too.
I'm running 5.2.x
Good luck asking my host to update that...they're paranoid like hell.
>.< *Bangs head on desk* Guess I'll need to make those changes.
EDIT: The changes you suggested to fix are not working.
Code Example:
Yours Says
'EOL'
Should it say
EOL
I did a find replace and that seemed to stop the PHP Parser from spitting nails.
The API Registration page will not load the key or go to the next screen. Errors out saying "wrong information"
I put "\" in front of the dollar signs (coincidentally it goes further than 161 ;) ) but its still not working.
PS: I'll not be able to make any changes until tomorow night...and even then It'd be nice to have someone to check my syntax with without having to wait hours >.<;;; So any clear cut suggestions for this out of practice noob would be great! |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.15 17:05:00 -
[7] - Quote
Using Coda last night I maanged to find and replace each and every EOL...only thing is I dont know if spaces should be inserted or not after the ">>>"
The pages load up ok but the API key isn't showing up...or im not sure whats supposed to happen.
I just put in the key and the verification code and it sits there.
So I may have had a syntax error somewhere I missed.
To top that off... my vent provider screwed me over this moring when they moved my server and nuked the entire useraccount database... kinda got my hands full.... not sure if ill get back to this tonight or not. *facedesk*
So should I remove the backslashes from $'s and then just make sure EOL's are ok? |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.15 19:57:00 -
[8] - Quote
MisterMagotchi wrote:The dollar signs don't need backslashes, and there should be absolutely no spaces on the same line after EOL. I would just replace your index.php with the latest copy and replace all the 'EOL' (with single-quote) parts with EOL (without single-quotes).
OK.
What does EOL really accomplish?
I tried to decipher the syntax by checking PHP manuals and didn't get anywhere.
Best I could come up with an educated guess is "End of Line"
something along the lines of PHP_EOL which is a more formal better "\n" char or even a "\r"
Additionally... could you detail whats supposed to happen when you go to the reigstration page for API check. And I didn't catch where to set group assignments at.
In other words...alliance member signs up...want him in the alliance membership group...etc.
I saw in your configuration file where to set ignoring of groups however.
Additioanly... the section where you put in the DB information.... I presume thats where you go to sign into the SQL Database right? *attempting to troubleshoot why the reigstraiton page keeps erroring out when checking* |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.15 22:02:00 -
[9] - Quote
Strange..based on what you said...i have no idea why the java didn't kick in then.
as to the configuraiton page...musta missed that portion of the code...I'll have to take a closer loko at that.
thanks so much for the information. Should help me sort out why its not functional. |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.16 14:00:00 -
[10] - Quote
Looks like I'll have to start fresh...dug myself into a hole...but got an additional question.
Your documentation says corporate ID's for group assignments.
Is it possible to use the Alliance ID number?
PS: This weekend I'll plenty of free time to finally get it off the ground. |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.17 02:00:00 -
[11] - Quote
MisterMagotchi wrote:Drake:
No. The instructions do show you how to quickly grab a list of every corp. in an alliance, but you will have to update your config as corps. join or leave your alliance. I'll think about this and it may be a feature down the road.
Would be graet if it did...less opprotunities to mess with critical core files the more reliable the package.
But so noted...I'll stick with corp ID's from here on out. |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.17 05:15:00 -
[12] - Quote
is it possible to get on a mailing list to be alerted to updates to your package? 
And thanks much for the changes!  |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.17 05:27:00 -
[13] - Quote
Ok its not pulling the API key... its just sitting there.... I'm pretty sure I got all the files updated as specified... the DB connection is good... so whats causing it to not load the API information? |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.17 17:44:00 -
[14] - Quote
Sent email. Look forward to contacting you..... |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.18 01:15:00 -
[15] - Quote
Ran a test to act as if I booted a corporation. Still hasn't kicked said users... how long before it actually does that? Seems kinda odd that it hasn't done that as the cache has come and gone. (All I did was remove the entry of the corp in the config file) |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.18 05:55:00 -
[16] - Quote
Got it working.... the delay is a major factor so I'm fine tuning that.
Some things to note.
I've noticed that 8 times out of 10 the API server doesn't answer... not sure if its CCP messing with it or something else.
I'm also trying to make sure my cron job is working correctly.
Could you please answer this little riddle.
* * * * * /usr/bin/php5 folder1/folder2/eve-api-reg/check-users.php 2>&1
The underlined part... what is that?
Thanks. :)
PS: SWEET MOD THIS IS! |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.18 19:32:00 -
[17] - Quote
Ok.... the weird thing is... if I run it manually from command prompt... it works.
But if its running by itself... it won't connect to the API Server... not sure why.
I'll try adding the corrections and see if it fixes it.
Update: ok I think I found out why....for some reason the cron job won't run correct in its current context.
If the script is run from the servers home directory where ever the hell it is...it errors out.
If its run from the directory (in this case the eve-api-reg) in which its located...it loads fine.
Guess I'll need to figure out how to bypass that and I'm not having much luck in that. Weird thing is... it shouldn't be having this kind of trouble... hate to have to run this script manually.  |

Drake Draconis
Shadow Cadre Shadow Confederation
3
|
Posted - 2011.09.18 23:35:00 -
[18] - Quote
I'll give that a shot.
update: It works just fine now!
Much thanks!    |

Drake Draconis
Shadow Cadre Shadow Confederation
5
|
Posted - 2011.09.27 00:08:00 -
[19] - Quote
Yes it sets the group to default.
But only one group.
Not too big of an issue...still a top notch script. |

Drake Draconis
Shadow Cadre Shadow Confederation
6
|
Posted - 2011.09.27 18:12:00 -
[20] - Quote
Eugene Spencer wrote:Hmmmmm - it doesn't seem to be setting my defined groups as default. Any ideas? No doubt it'll be a single switch somewhere... I've also modified the script to fit into the skin of my website - http://therodents.net/EVE-API-Registration/Might give you guys some ideas. Eugene
Things to check.
1: Configuration script.... make sure the corp ID is correct... 2: Make sure your cron job is triggering correctly...try running the command from the home directory via SSH (IF your web provider gives that kind of access) because 9 times out of 10 that will determine if its really working or not. 3: Manually trigger the script and check the error log in the admin panel.
Now I've fine tuned mine to run a little more frequently than designed...granted I've not patched mine...but I'm more paranoid than most...
I know for a fact that it will asign to the correct groups...it will MOVE corporation members if I change group suddenly...and it will KICK them out of that group to the group set if you comment out the corporation in the config file.
So odds are its the triggering of the script and not so much the configuration.
PS: I specified a specific group to kick them out too to know for sure if it works or not.... might work for you too. |

Drake Draconis
Shadow Cadre Shadow Confederation
12
|
Posted - 2011.09.29 17:52:00 -
[21] - Quote
Installed patched files last night.
works like a charm like it did before....love the additions to the code.
Brilliant as ever.
*thumbs up* |

Drake Draconis
Shadow Cadre Shadow Confederation
13
|
Posted - 2011.10.01 20:58:00 -
[22] - Quote
2 Requests:
1: Add to the config file where you can drop "rejected" API keys there so we don't need to mod the user-check file.
2: Add a hyperlink at the end of the registration page that will allow any user (who isn't savvy about this stuff) to find their way back to the forums.
A: I realize that I can just mod the file but I have to remember to edit them every time you patch.
B: And yes I can add a hyper link to the end of your file but there should be some sort of way to do that without having to put it back in each time.
Granted nothing spectacular and easily anyone could do it...but If I forget to put these "mods" back in...life gets a little interesting.

Either way I'm happy with the script...but it would be nice to have those little minor things. |

Drake Draconis
Shadow Cadre Shadow Confederation
13
|
Posted - 2011.10.01 23:48:00 -
[23] - Quote
MisterMagotchi wrote:
- I don't know what you mean by "rejected" API keys.
- I'll do this next time I release an update. I'm not going to make an update just for it, though.
When they fail the API check..as in not on the registered corporations list... they get booted to the "registered users" group.
The only way to change that is to mod the check users file.
I'm asking to allow us to pick the group we want them to go to.
In some cases the registered users may not be the best group to dump a bunch of people in for any number of reasons.
It's not that big of a deal..just less hassle. |

Drake Draconis
Shadow Cadre Shadow Confederation
13
|
Posted - 2011.10.03 05:55:00 -
[24] - Quote
MisterMagotchi wrote:I can't see a good reason why Registered Users is a bad group to have them put in, as 100% of your non-bot users should be in the Registered Users group. What setup do you have that some people aren't in that group? I was under the impression that even with Newly Registered Users set up, users are in both anyway? It's not too big of a deal to add the feature, but I'm curious as to why anyone would even need it, and if you don't have a legitimate reason, to me it's just an extra thing to potentially confuse people to have in the config. If you have a reason that I think will have useful application to an even somewhat-wide group of people, I'll add that option.
Lets just say that when people get kicked or API keys expire too soon I don't want them to be able to do certain things that "registered" users can do.
I'm rather particular about forums access and permissions.
As I said before...not that big of a deal. :) |

Drake Draconis
Shadow Cadre Shadow Confederation
13
|
Posted - 2011.10.03 06:00:00 -
[25] - Quote
Simon Victor wrote:MisterMagotchi wrote:It also makes it harder to maintain (for me), install, and update, and it makes it more prone to breakage with phpBB updates. Fair enough. I know just enough to be dangerous so I didn't know if that would be feasible or not.
Ever try to update PHPBB forums with an non-sanctioned/approved PHPBB modification(s)?
Do a little reading and you'll find out why its a bad idea.
http://www.phpbb.com/mods/rules-and-policies/
PHBB in-itself is rock solid and streamlined for performance...but if you modify any piece of it outside its normal boundaries and you get a patch...you'll be pulling your hair out and screaming at your toasted database.
Ain't going there again.
This modification is really an extension...and while it has its unusual setup....its a VERY small price to pay for the luxury of API security.
PS: If someone can make it a sanctioned mod then by all means go for it...but I suspect not many EVE Online corps/alliances use PHPBB. Call it a hunch. |

Drake Draconis
Shadow Cadre Shadow Confederation
15
|
Posted - 2011.10.03 20:35:00 -
[26] - Quote
MisterMagotchi wrote:Drake Draconis wrote:Lets just say that when people get kicked or API keys expire too soon I don't want them to be able to do certain things that "registered" users can do. Every user is a Registered User. A user even with a new, freshly created account, is a Registered User, possibly in addition to other groups (like Newly Registered Users). Normally to give a user extra permissions, they are then added to another group, but they aren't removed from Registered Users. Are not 100% of all your human users in the Registered Users group?
I quarentine failed API accounts to keep things easy to sort out from registered users group.
Basically its to prevent abuse for those who get booted and want to cause trouble that requires registered user access.
While every user is a reigstered user...not all have default access in that group necessarily. |

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.08 21:23:00 -
[27] - Quote
Much thanks for the update!
:) |

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.10 19:32:00 -
[28] - Quote
EDIT: Nm.
1 And 1 user here as well... I do have some sort of fix here but I can't recall what it took to get mine working...
I'll need to look into that when I get the chance.
Odd thing to report.... I only see 1 user reported in the error log but no one else shows up in that log. |

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.10 22:25:00 -
[29] - Quote
MisterMagotchi wrote: Drake: Either you haven't had anybody lose their registration and haven't otherwise had errors, or there's a problem. Try editing your entry directly in the EVE Registration table in the database so that your Verification Code is invalid, and set your Cached Until timestamp to something way in the past, and see if it then revokes your privileges and puts an error in the log.
The day the API server took a nose dive prior to your patching it revoked the rights of every member on the list...but only reported my name as such in the error log. |

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.11 05:35:00 -
[30] - Quote
MisterMagotchi wrote:
Drake: I don't know why. Mine was filled with log lines of people being deleted, but I didn't lose everybody (since I caught it in time). The moral of the story is that backups are key, always. Sorry for the loss, though. Is it logging other things correctly?
didn't lose anything...
It just didn't report everyone getting removed even though it did as expected.
I'm only griping about the lack of logging...not so much function.
Which does so quite beautifully mind you. 
PS: I won't be able to get around to the 1and1 fixes due to real life but I'll try my best to look you up TA5E if you need help... but it may be the weekend.
|

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.11 18:40:00 -
[31] - Quote
MisterMagotchi wrote:Although I mentioned some fixes in index.php, I apparently forgot to include the updated index.php in my most recent release, so they actually weren't added, and I'll instead stick it in my next release. The good news is that they weren't critical changes.
Sorry about that.
Drake: It should have logged, and it logged it all for me. That's what I'm trying to troubleshoot. Does it log errors normally otherwise?
Yes its logging....if you want to call it that...just only my account shows up when something happens.
All other accounts aren't being logged but its obviously doing something in the background. |

Drake Draconis
Shadow Cadre Shadow Confederation
16
|
Posted - 2011.10.11 23:08:00 -
[32] - Quote
MisterMagotchi wrote:Drake: I have no idea why it would log problems with only one user, it doesn't make sense that that one user would just be you (instead of some other random person), it's not happening for me, and I haven't seen it happen with anyone else. Something you might try to test: On line 3 of check-users.php, paste the following: Quote:log_message('Check script ran.', FALSE); With that, you should get an entry in errors.txt every time check-users.php runs via the cron job or via the registration form. My only guess I can think of is that it might be only logging when it runs via the registration form and not via the cron, but if you said it did show that your registration got deleted during the EVE API downtime, then that may not be it. Either way, that's a good troubleshooting step to make sure it at least can log at the appropriate times.
Very nice...I'll insert that when i get access to the server tonight. |

Drake Draconis
Shadow Cadre Shadow Confederation
17
|
Posted - 2011.10.12 20:53:00 -
[33] - Quote
Running into RL stuff...gonna be a bit delayed on feedback results for the test. |
| |
|